package com.wss.day02.test01;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/21
 */
public class Test02 {
    public static void main(String[] args) {
        GrandFather grandFather = new GrandFather("王一",70);
        grandFather.show();


        System.out.println("---------------");
        Father father = new Father("王二",40,"老师");
        father.show();
    }
}
